/*
 * @Author: your name
 * @Date: 2021-05-02 21:49:52
 * @LastEditTime: 2021-05-07 04:49:31
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \react-execl\src\index.js
 */
import React from 'react';
import ReactDOM from 'react-dom';
import './index.css';
import App from './App';
import reportWebVitals from './reportWebVitals';
import zhCN from 'antd/lib/locale/zh_CN';
import { ConfigProvider } from 'antd';
import moment from 'moment'; 
import 'moment/locale/zh-cn'; 
moment.locale('zh-cn');

ReactDOM.render(
  // <React.StrictMode>
    <ConfigProvider locale={zhCN}>
      <App />
    </ConfigProvider>,
  // </React.StrictMode>,
  document.getElementById('root')
);

// If you want to start measuring performance in your app, pass a function
// to log results (for example: reportWebVitals(console.log))
// or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals
reportWebVitals();
